from selenium import webdriver
from time import sleep
from selenium.webdriver.common.by import By

driver = webdriver.Firefox()
driver.get("http://www.baidu.com")
eles = driver.find_elements(By.TAG_NAME, 'input')
print(len(eles))
eles[7].send_keys('suzie')
sleep(2)
driver.quit()
